Fix printing the result by 'eval-print-last-sexp'
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 May 2024 09:55:34 +0000 (12:55 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 May 2024 09:55:34 +0000 (12:55 +0300)
commit82a31e27e6ceed17a116286d2f0f9810be2e1772
treed36231e1bc927cad03d34a5729154cf1e5400bb7
parentbe03dda5b0fc55e989bfa707c73f1cc990e24c3b
Fix printing the result by 'eval-print-last-sexp'

* lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Record the
desired output stream before evaluating the expression.
(Bug#70931)
lisp/progmodes/elisp-mode.el